Skip to content

Revert previous workarounds and upgrade TFX stack to 1.21.0#39164

Open
shunping wants to merge 7 commits into
masterfrom
resollution-too-deep-2
Open

Revert previous workarounds and upgrade TFX stack to 1.21.0#39164
shunping wants to merge 7 commits into
masterfrom
resollution-too-deep-2

Conversation

@shunping

@shunping shunping commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

fixes #38780
related to #39163

@shunping shunping force-pushed the resollution-too-deep-2 branch from 544aa0f to 35326af Compare June 30, 2026 03:57
@shunping

Copy link
Copy Markdown
Collaborator Author

r: @aIbrahiim

Running the failed workflow against this PR: https://github.com/apache/beam/actions/runs/28452712519/job/84319046212

Notice that this PR isn't meant to capture all changes from #39162. If you need to make additional changes to refactor the test, please feel free to rebase your work after it is merged. Thanks a lot!

@shunping shunping marked this pull request as ready for review June 30, 2026 16:10
@github-actions

Copy link
Copy Markdown
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request modernizes the TFX benchmark stack by upgrading core components to version 1.21.0. By updating these dependencies, the project is able to remove previous configuration workarounds and constraints files that were used to manage complex dependency resolution, simplifying the installation process for the benchmark environment.

Highlights

  • TFX Stack Upgrade: Upgraded core TFX benchmark dependencies (tfx-bsl, tensorflow-transform, and tensorflow-metadata) to version 1.21.0.
  • Cleanup of Workarounds: Removed the constraints.txt file and associated pip installation workarounds that were previously used to mitigate dependency resolution issues.
  • Test Adjustments: Removed the @pytest.mark.uses_tft marker from specific integration tests in mltransform_one_hot_encoding_test.py.
New Features

🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the constraints file for CloudML benchmarks, updates and pins several TFX-related dependencies to version 1.21.0 in requirements.txt, and leaves other core dependencies (such as tensorflow, numpy, and pyarrow) completely unpinned. It also removes the @pytest.mark.uses_tft decorator from some MLTransform tests and updates the Gradle task to install requirements without a constraints file. The feedback points out that leaving core dependencies unpinned can lead to non-reproducible environments and unexpected CI failures, recommending that compatible version ranges or exact pins be specified.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread sdks/python/apache_beam/testing/benchmarks/cloudml/requirements.txt
@shunping shunping changed the title Revert previous fixes and upgrade TFX stack to 1.21.0 Revert previous workarounds and upgrade TFX stack to 1.21.0 Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The CloudML Benchmarks Dataflow job is flaky

1 participant